package com.rykj.energy.database.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rykj.energy.database.pojo.BasicNotice;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface NoticeMapper extends BaseMapper<BasicNotice> {
    List<Map<String, Object>> getNoticeList();

    BasicNotice findOneByBusinessType(@Param("businessType") String businessType);
}
